<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>微信Api接口管理</title>
<link href="__ADMIN_PUBLIC__css/style.css" rel="stylesheet" type="text/css" />
<link href="__ADMIN_PUBLIC__css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__js/select-ui.min.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
     <li><a href="{:U('Member/Index/welcome/')}">首页</a></li>
    <li><a href="{:U('Member/Api/UserApiInfo/')}">微信Api接口管理</a></li>
    </ul>
    </div>
    
    <div class="formbody">   
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">微信Api接口管理</a></li>
  	</ul>
    </div> 
    <form action="" method="post" enctype="multipart/form-data">
  	<div id="tab1" class="tabson">    
    <ul class="forminfo">
    <!--<li><label>Token令牌<b>*</b></label><input name="lname" type="text" class="dfinput" value=""  /></li>-->
   
    <li><label>Appid<b>*</b></label> <input name="appid" type="text" class="dfinput" value="{$userInfo.appid}"  />    
    </li>
    
    <li><label>AppSecret<b>*</b></label> <input name="appsecret" type="text" class="dfinput" value="{$userInfo.appsecret}"  />     
    </li>
    
	<li><label>微信公众号<b>*</b></label> <input name="wxnum" type="text" class="dfinput" value="{$userInfo.wxnum}"  />    
    </li>	
    
    <li><label>微信名称<b>*</b></label> <input name="wxname" type="text" class="dfinput" value="{$userInfo.wxname}"  />    
    </li>
    
    <li><label>微信号类型<b>*</b></label>
    
    <div class="vocation">
    <select class="select1" name="wxtype">
    <option value="0" <if condition="$userInfo['wxtype'] eq 0">selected = "selected"</if> >订阅号</option>
    <option value="1" <if condition="$userInfo['wxtype'] eq 1">selected = "selected"</if> >服务号</option>
    <option value="2" <if condition="$userInfo['wxtype'] eq 2">selected = "selected"</if> >认证服务号</option>    
    </select>
    </div>
    </li>
    

    


    
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="保存"/></li>
    </ul>
    
    </div> </form>
    
     <table class="tablelist">
    	<thead>
    	<tr>
        <th>提示信息</th>
        
        </tr>
        </thead>
        <tbody>
        <tr>
      
        <td>
        	<p>你必须进入<a href="https://mp.weixin.qq.com/" target="_blank" style="color: #0000CC;">微信公众平台</a>，选择“开发者中心”，将对应信息在上表中填写完毕提交后，将接口配置信息Url修改为如下网址：</p>

			<p><span style="font-weight: 700;">http://{$Think.server.HTTP_HOST}{:U('Member/Api/index','','')}/?uid={$Think.session.uid} </span></p> 
			
			<p>填写完毕上表后将为您生成唯一Token <if condition="$userInfo">您的唯一Token是<span style="font-weight: 700;display: inline-block;">{$userInfo.wxtoken}</span></if></p>
			
			

			<p>以上网址必须是外网，内网是不可以的，因为腾讯的服务器无法访问你的内网</p>
        </td>
       
        </tr> 
    
        </tbody>
    </table>
    
  	
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    
    
    
    </div>


</body>

</html>
